package be.bonamis.umpire.quiz;

import java.io.Serializable;

public class QuestionStat implements Serializable, Comparable<QuestionStat> {
	private static final long serialVersionUID = 5884343983464409849L;
	private String Question;
	private Integer result;

	public String getQuestion() {
		return Question;
	}

	public void setQuestion(String question) {
		Question = question;
	}

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	@Override
	public int compareTo(QuestionStat qs) {		
		return result.compareTo(qs.getResult());
	}
}
